package com.cn.bukeManage.service;

import java.util.List;

import org.springframework.ui.Model;

import com.cn.bukeManage.pojo.Message;

public interface MessageService {

	public List<Message> getMessageByType(Model model,Integer currentPage,int i);
	
	//添加新消息
	public Integer addcustomerMessage(Message message);
	//删除新消息
	public Integer deleteMessage(Integer messageId);

	public Message toUpdateMessage(Integer messageId);
	//保存修改
	public Integer updateMessage(Message message);
	//消息搜索
	public List<Message> screahMessageByType(Model model, int currentPage, int i,String screah);

}
